﻿@model nwrole.Orchestrator.site.Models.LogShowViewModel

@{
    ViewBag.Title = "Show";
}

<h2>Log messages</h2>

<table>
    <tr>
        <th>Date</th>
        <th>Level</th>
        <th>Message</th>
    </tr>
    @foreach(var logMessage in Model.LogMessages)
    {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => logMessage.Datetime)
            </td>
            <td>
                @((nwrole.plugin.LogLevel)logMessage.Level)
            </td>
            <td>
                @Html.DisplayFor(modelItem => logMessage.Message)
            </td>
        </tr>
    
    }

</table>